import type { App } from 'vue'

import { formatTime } from '@/utils/date-time'

export default function registerProperties(app: App) {
  app.config.globalProperties.$filters = {
    formatTime(value: number) {
      return formatTime(value)
    }
  }
}
